<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.sys.Environment</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.sys.Environment";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.sys.Environment.html" class="symbol">tango.sys.Environment</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Feb 2007: Initial release
<p class="sec_header">Author:</p>Deewiant, Maxter, Gregor, Kris
<dl>
<dt class="decl">struct <a class="symbol _struct" name="Environment" href="./htmlsrc/tango.sys.Environment.html#L65" kind="struct" beg="65" end="267">Environment</a>; <a title="Permalink to this symbol" href="#Environment" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.sys.Environment.html#L65">#</a></dt>
<dd class="ddef">
<div class="summary">Exposes the system Environment settings, along with some handy
        utilities</div>
<dl>
<dt class="decl">FilePath <a class="symbol _function" name="Environment.exePath" href="./htmlsrc/tango.sys.Environment.html#L76" kind="function" beg="76" end="107">exePath</a><span class="params">(char[] <em>file</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#Environment.exePath" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.sys.Environment.html#L76">#</a></dt>
<dd class="ddef">
<div class="summary">Returns the full path location of the provided executable
                file, rifling through the PATH as necessary.</div>
Returns null if the provided filename was not found</dd>
<dt class="decl">char[] <a class="symbol _function" name="Environment.get" href="./htmlsrc/tango.sys.Environment.html#L211" kind="function" beg="211" end="219">get</a><span class="params">(char[] <em>variable</em>, char[] <em>def</em> = null)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#Environment.get" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.sys.Environment.html#L211">#</a></dt>
<dd class="ddef">
<div class="summary">Returns the provided 'def' value if the variable 
                        does not exist</div></dd>
<dt class="decl">void <a class="symbol _function" name="Environment.set" href="./htmlsrc/tango.sys.Environment.html#L227" kind="function" beg="227" end="238">set</a><span class="params">(char[] <em>variable</em>, char[] <em>value</em> = null)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#Environment.set" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.sys.Environment.html#L227">#</a></dt>
<dd class="ddef">
<div class="summary">clears the variable, if value is null or empty</div></dd>
<dt class="decl">char[][char[]] <a class="symbol _function" name="Environment.get:2" href="./htmlsrc/tango.sys.Environment.html#L244" kind="function" beg="244" end="265">get</a><span class="params">()</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#Environment.get:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.sys.Environment.html#L244">#</a></dt>
<dd class="ddef">
<div class="summary"></div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2007 Tango. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:03:46 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>